/*
 *  joingame_window.h
 */

#ifndef JOIN_GAME_WINDOW_H
#define JOIN_GAME_WINDOW_H

#include <gtkmm.h>
#include <gtkmm/window.h>
#include <string>
#include "client_app.h"
#include "client_window.h"

class JoinGameWindow: public ClientWindow {
public:
    JoinGameWindow(BaseObjectType* object,
		           const Glib::RefPtr<Gtk::Builder>& builder);
	virtual ~JoinGameWindow();
    void setApp(ClientApp* app);
    void onStartGame();
    void onCancel();
    virtual void notifyGameAbortOk(ClientApp* app);
    virtual void notifyGameStartOk(ClientApp* app);
    void setLobbyWindow(Gtk::Window* window);
protected:
  	Gtk::Button* btnCancel;
private:
    Gtk::Window* winLobby;
};

#endif  //JOIN_GAME_WINDOW_H

//{+}

